package com.bungarus.model;

import org.springframework.stereotype.Component;

import java.io.Serializable;
import java.util.List;

/**
 *
 * Created by tang on 2018/11/11.
 */
@Component
public class Group implements Serializable {
    //group name
    private String name;
    //group unique id
    private String id;
    //tenant id
    private String tenantId;
    //memebers
    private List<Member> members;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public List<Member> getMembers() {
        return members;
    }

    public void setMembers(List<Member> members) {
        this.members = members;
    }

    public String getTenantId() {
        return tenantId;
    }

    public void setTenantId(String tenantId) {
        this.tenantId = tenantId;
    }
}
